public class BookTest {

    public static void main(String[] args) {

        Book book = new Book();

        String info = book.getBookInfo();

        System.out.println(info);

        String bookNameSetBefore = book.getBookName();

        System.out.println(bookNameSetBefore);

        book.setBookName("武功秘籍");

        String bookNameSetAfter = book.getBookName();
        System.out.println(bookNameSetAfter);

        book.setPrice(100);
        book.setAuthor("天下无敌");
        book.setPublisher("火星报社");


        System.out.println(book.getBookInfo());

    }
}

